﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="RiceInfoPage.aspx.cs" Inherits="MAA.Presentation.PRL.News.RiceInfoPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="../Styles/RiceInfo.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="RiceInfo" style="margin-bottom:20px;">
        <asp:Label runat="server" ID="lblRiceMess"></asp:Label>
        <asp:Repeater ID="tblRiceInfo" runat="server" onitemdatabound="tblRiceInfo_ItemDataBound">
            <ItemTemplate>
                <div class="mainTable_rice">
                    <h2 class="riceType">
                        <a href="RiceInfoDetailPage.aspx?riceID=<%# Eval("ID") %>">
                            <%# Eval("TypeName")%></a>
                    </h2>
                    <br />
                    <div class="content_left_news">
                        <img class="picture_rice" src="<%# Eval("Image") %>" alt="">
                    </div>
                    <div class="origin_rice">
                       <asp:Label ID="langOrigin" runat="server" Text="<%$Resources:language, langOrigin%>" Font-Bold="True" Font-Size="Larger"></asp:Label>: <%# Eval("Origin") %>
                    </div>
                    <div class="description_rice">
                        <asp:Label ID="langDes" runat="server" Text="<%$Resources:language, langDescription%>" Font-Bold="True" Font-Size="Larger"></asp:Label>: <%# Eval("BriefDescription")%>
                    </div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
    <div class="paging">
        <asp:ImageButton ID="imgBtnFirst" runat="server" ImageUrl="~/WebData/Image/WebImage/First.png"
            CommandArgument='First' OnClick="Page_Changed" ToolTip="First" />
        <asp:ImageButton ID="imgBtnPrevious" runat="server" ImageUrl="~/WebData/Image/WebImage/Previous.png"
            CommandArgument='Previous' OnClick="Page_Changed" ToolTip="Previous" />
        <asp:Label ID="lblCurrentPage" runat="server" Text="Label"></asp:Label>
        <asp:Label ID="lblSeperate" runat="server" Text="/"></asp:Label>
        <asp:Label ID="lblTotalPage" runat="server" Text="Label"></asp:Label>
        <asp:ImageButton ID="imgBtnNext" runat="server" ImageUrl="~/WebData/Image/WebImage/Next.png"
            CommandArgument='Next' OnClick="Page_Changed" ToolTip="Next" />
        <asp:ImageButton ID="imgBtnLast" runat="server" ImageUrl="~/WebData/Image/WebImage/Last.png"
            CommandArgument='Last' OnClick="Page_Changed" ToolTip="Last" />
    </div>
</asp:Content>
